import CombineRouters from "koa-combine-routers";
import _chkRouters from "./_chk";
import _cmdRouters from "./_cmd";
import commonApiRouters from "./common-api";
import brandApiRouters from "./brand-api";
import storeApiRouters from "./store-api";
import spokesmanApiRouters from "./spokesman-api";
import userApiRouters from "./user-api";

const combinedRouters = CombineRouters([
  ..._chkRouters,
  ..._cmdRouters,
  ...commonApiRouters,
  ...brandApiRouters,
  ...storeApiRouters,
  ...spokesmanApiRouters,
  ...userApiRouters,
]);
export default combinedRouters;
